#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1()
{
    string s="babad";
    string ss = Solution().longestPalindrome(s);
    if (ss == "bab")
    {
        std::cout << "Test 1 .... OK" << std::endl;
    }
    else
    {
        std::cout << "Test 1 .... Failed" << std::endl;
    }
}

void Test2()
{
    string s="cbbd";
    string ss = Solution().longestPalindrome(s);
    if (ss == "bb")
    {
        std::cout << "Test 1 .... OK" << std::endl;
    }
    else
    {
        std::cout << "Test 1 .... Failed" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();

    return 0;
}